package com.iptv.grape.bu.imp;

import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.video.XMediaPlayer;
// 显示点播菜单
@AppState(isShowLiveMenu = false,isShowChannelBillUI = false,curPlayType="Vod",
        isShowVodMenu = false,keyVals = {21,22})
public class ShowVodMenu implements IKeyEventPorc {
    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        GrapeContext.curGrapeContext().loadVodFragment(context);
    }
}
